package cn.gong.movie.bean;

import framework.base.BaseBean;
import framework.database.annotaion.DBField;

public class Movie extends BaseBean {

	private long id;
	private String name;
	private String date;
	private int status;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Movie [id=" + id + ", name=" + name + ", date=" + date + ", status=" + status + "]";
	}

	public void copy(Movie movie) {
		this.name = movie.getName();
		this.status = movie.getStatus();
		this.date = movie.getDate();
	}

}
